package com.iversonx.example_1.controller.v1;

import com.iversonx.example_1.controller.AwardReq;
import com.iversonx.example_1.controller.AwardRes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class PrizeController {
    private final Logger logger = LoggerFactory.getLogger(PrizeController.class);
    @Autowired
    private PrizeService prizeService;

    public AwardRes awardToUser(AwardReq req) {
        return prizeService.awardToUser(req);
    }
}
